(function(window) {
    window.server = {
        // root: '/',
        // root: 'http://127.0.0.1:8080/',
        root: 'http://172.30.5.37:8080/FastInvoice/',
        //按照页面编写每个页面的接口
        index: function() {
            return {
                //获取抬头
                findInvoiceMake: this.root + 'nuonuo/invoice/findInvoiceMake.action',
                //获取抬头详细信息
                findTzUserinfoForRequestkp: this.root + 'portal/allow/qrbarcodes/findTzUserinfoForRequestkp.action',
                //获取支付宝的发票抬头
                getAlipayInvoice: this.root + 'nuonuo/invoice/getAlipayInvoice.action'
            }
        },
        share: function() {
            return {
                //根据开票码获取信息
                getKpinvoiceByCode: this.root + 'nuonuo/invoice/getKpinvoiceByCode.action'

            }
        }
    }
})(window)